Mac 初期設定
xcode-select --install
setup GitHub ssh
ssh-keygen -t ed25519
GitHub にSSH鍵を登録
add standard shell
sudo vim /etc/shells
add /usr/local/bin/zsh, /opt/homebrew/bin/zsh
curl -s https://raw.githubusercontent.com/ebkn/dotfiles/main/bin/init/macos.sh | zsh
shell, terminal 等各種ツールのインストール、設定
アプリのインストール
AppleID
login
System Preferences
TouchID
Register multiple fingers
Security & Privacy
Require password immediately
On Firewall
General
Dark mode
Accent color
sidebar icon size
Display
Scaled resolution
Desktop & screen saver
background
Screen saver
Siri
off
hide on menu bar
Bluetooth
show on menu bar
Sound
show on menu bar
turn off startup/user interface sound
Keyboard
set keyrepeat, delay until repeat to max
Modifier Keys
map Caps Lock to Control
Shortcut
off
map Move left/right a space Ctrl+h to Ctrl+l
map Mission ControltoCtrl+u
Trackpad
enable Tap to Click
fastest Tracking speed
disable dictionary
Mission Control
turn off Automatically rearrange Spaces based on most recent use
Do not disturb
turn off sync across devices
Dock & Menu Bar -> Clock
Use 24-hour clock
Display the time with seconds
Notifications
remove widgets
Finder
show extensions
show home
change side bar
Dock
delete unnecessary apps
show on right
hide automatically
change size, magnificatio
Accesibility
display -> reduce motion
Install Fonts
生体認証登録
Vim
:call dein#install()
zsh history
copy ~/.zsh_history
google-japanese-ime が apple silicon 未対応 (2022/07) 使わなくなった
brew でいれられないので、公式サイトからダウンロードして Rosetta で動かすように
homebrew でいれたツールのインストール先が /usr/local/bin -> /opt/homebrew/bin に変わった /usr/local/bin/zsh -> /opt/homebrew/bin/zsh
set rtp+=/opt/homebrew/opt/fzf
prefix 部分の出し分けはbrew --prefix で
cd ~/.config/coc/extensions && npm i
code:sh
sudo softwareupdate --install-rosetta --agree-to-license
flutter clean
rm ios/Pods
rm ios/.symlinks
sudo gem uninstall ffi
arch -x86_64 sudo gem install ffi
sudo gem install cocoapods -v 1.11.3
flutter pub get
pod cache clean --all
cd ios && arch -x86_64 pod install --repo-update
flutter run ....
ref